home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / comp / patchfal.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  480 b   |  17 lines

  1. /*
  2.                             P A T C H F A L . C
  3. */
  4.  
  5. #include "iccomp.h"
  6.  
  7. void patchfalse(e)
  8.     ESTRUC_
  9.         *e;
  10. {
  11.     e->falselist = xrealloc(e->falselist,   /* expand the falselist */
  12.                             (e->falselen + 1) * sizeof(unsigned));
  13.  
  14.                                             /* room for the jump-backpatch */
  15.     e->code = xrealloc(e->code, e->codelen += sizeof(INT16));
  16.     e->falselist[e->falselen++] = e->codelen;   /* store jumpstart location */
  17. }